﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/flick/jquery-ui-1.8.23.custom.css")" rel="stylesheet" type="text/css" />
    <script src="@Url.Content("~/Scripts/jquery-1.7.1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.unobtrusive-ajax.js")" type="text/javascript"></script>
    <!--UI控件集合-->
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.js") " type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/modernizr-2.5.3.js")" type="text/javascript"></script>
    <script type="text/javascript">
        var needAlert = false;
        window.onbeforeunload = function (e) {
            if (!needAlert) {
                return;
            }
            e = e || window.event;
            var msg = '您有数据尚未保存，确定要离开吗？';
            if (e) {
                e.returnValue = msg;
            }
            return msg;
        };
    </script>
</head>
<body>
    @RenderBody()
</body>
</html>
